package com.ymatou.iapi.userservice.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.iapi.userservice.parameter.PasswordRequestDtoBean;
import com.ymatou.iapi.userservice.service.PasswordRequestDtoCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.*;
import com.ymt.utils.tag.*;
/**
*验证交易密码Test
*FreeMaker Template自动生成代码
*/
@TestSuite
public class Ts_PasswordRequestDto{
	private static PasswordRequestDtoBean passwordrequestdtoBean;
	private static PasswordRequestDtoCall passwordrequestdtoCall;
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("验证交易密码Test");
	}

	@Before
	public void caseUp() {
		passwordrequestdtoBean=new PasswordRequestDtoBean();
		passwordrequestdtoCall=new PasswordRequestDtoCall();
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(passwordrequestdtoCall.getOpurl());
	}

	@After
	public void caseDown() {
		Logger.end();
	}
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_PasswordRequestDto_001() {
		Logger.start(true,"验证交易密码,成功");
		try {
			//TODO 补全case代码
			org.junit.Assert.fail();
			passwordrequestdtoCall.setData(passwordrequestdtoBean);
			passwordrequestdtoCall.callService();			
			
		} catch (Exception e) {
			Logger.fail(e);
		}
	}
}